package com.imooc.o2o.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "tb_person_info")
public class PersonInfo implements Serializable {

	@Column(name = "user_id")
	private Integer userId;

	private String name;

	@Column(name = "profile_img")
	private String profileImg;

	private String email;

	private String gender;

	@Column(name = "enable_status")
	private Integer enableStatus;

	//1 顾客 2 店家 3 超级管理员
	@Column(name = "user_type")
	private Integer userType;

	@Column(name = "create_time")
	private java.util.Date createTime;

	@Column(name = "last_edit_time")
	private java.util.Date lastEditTime;

}
